﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace furion.blog.Domain.Shared.Vo.Member
{
    public class MemberProfileVO
    {
        [JsonProperty(PropertyName = "phone")]
        public string Phone { get; set; } = string.Empty;

        /// <summary>
        /// 姓名 
        ///</summary>
        [JsonProperty(PropertyName = "realName")]
        public string RealName { get; set; } = string.Empty;
        /// <summary>
        /// 昵称 
        ///</summary>
        [JsonProperty(PropertyName = "nickName")]
        public string NickName { get; set; } = string.Empty;
        /// <summary>
        /// 性别  MAN WOMAN UNKNOW 
        /// 默认值: UNKNOW
        ///</summary>
        [JsonProperty(PropertyName = "sex")]
        public string Sex { get; set; } = string.Empty;
        /// <summary>
        /// 生日yyyy-MM-dd 
        ///</summary>
        [JsonProperty(PropertyName = "birthday")]
        public DateTime? Birthday { get; set; }
        /// <summary>
        /// 积分(整数) 
        ///</summary>
        [JsonProperty(PropertyName = "integral")]
        public decimal? Integral { get; set; } = decimal.Zero;
        /// <summary>
        /// 头像 
        ///</summary>
        [JsonProperty(PropertyName = "avatar")]
        public string Avatar { get; set; } = string.Empty;

        /// <summary>
        /// 注册日期 
        ///</summary>
        [JsonProperty(PropertyName = "createdTime")]
        public DateTime? CreatedTime { get; set; }


        [JsonProperty(PropertyName = "email")]
        public string Email { get; set; } = string.Empty;

        [JsonProperty(PropertyName = "wechat")]
        public string Wechat { get; set; } = string.Empty;
    }
}
